package com.weixing.mall.provider.model.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author wx
 * @Date 2019/10/15 9:53
 * @Version 1.0
 */
@Data
public class AgentTreeQuery {
    @ApiModelProperty(value = "代理商名称")
    private String agentName;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "微信号")
    private String wechatNum;
    @ApiModelProperty(value = "代理分类")
    private Integer agentType;
    @ApiModelProperty(value = "代理商等级")
    private Integer agentLevel;
    @ApiModelProperty(value = "代理状态")
    private Integer isEnable;
    @ApiModelProperty(value = "是否活跃")
    private Integer isActive;
    @ApiModelProperty(value = "开户开始日期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startTime;
    @ApiModelProperty(value = "开户结束日期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endTime;
}
